/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mavenrentcars.dao;

import com.mavenrentcars.model.Car;
import com.mavenrentcars.model.Reservation;
import com.mavenrentcars.model.User;
import java.util.Date;
import java.util.List;

/**
 *
 * @author serg
 */
public interface ReservationDao extends GenericDao<Reservation, Integer> {

    public List<Reservation> getAll(Car car, Date start_time, Date end_time);

    public List<Reservation> getAll(User user);
}
